LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 06-28-2009, 11:21 PM   #1
fritz001
Member
 
Registered: Aug 2004
Posts: 100

Rep: Reputation: 18
CISCO access-list [ host range ]


It might not be a question directly related to linux... but anyway

there is any way i can define a host range:: ?

access-list 101 permit tcp host range 192.168.50.100-192.168.50.121 192.168.100.2 eq 80 443 25 995 587
 
Old 07-10-2009, 09:56 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 204

Rep: Reputation: 32
Cisco ACL Generation

There is a range syntax, which uses wild-cards rather than net masks. If you want to see how it should be done *almost* interactively, go to

http://www.chud.net/acl-maker.html

and input your requirements and the acl is generated automagically

HTH
 
Old 07-11-2009, 11:34 AM   #3
fritz001
Member
 
Registered: Aug 2004
Posts: 100

Original Poster
Rep: Reputation: 18
Quote:
Originally Posted by jimbo1954 View Post
There is a range syntax, which uses wild-cards rather than net masks. If you want to see how it should be done *almost* interactively, go to

http://www.chud.net/acl-maker.html

and input your requirements and the acl is generated automagically

HTH
Link isn't working....
 
Old 07-14-2009, 03:38 PM   #4
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: SuSe 9.2 & 10, Gentoo, knoppix, DSL
Posts: 769

Rep: Reputation: 101Reputation: 101
No. but its not that hard -

permit tcp 192.168.50.100 0.0.0.3 192.168.100.2 eq 80 443 25 995 587
permit tcp 192.168.50.104 0.0.0.7 192.168.100.2 eq 80 443 25 995 587
permit tcp 192.168.50.112 0.0.0.7 192.168.100.2 eq 80 443 25 995 587
permit tcp 192.168.50.120 0.0.0.1 192.168.100.2 eq 80 443 25 995 587
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Range of Words from Arg List tonyfreeman Programming 3 10-05-2006 03:35 PM
Cisco 1721 SDM access list issue metallica1973 Linux - Networking 3 09-16-2006 08:51 AM
How can a process know if it has access to a given io address range? hughug Programming 0 05-22-2006 06:20 PM
How to list file space usage estimate (du), SPECIFIED BY RANGE tsilok Linux - Newbie 6 10-24-2005 04:56 AM
How to List files between date1 and date2 (range of time)? mystique98ls Linux - Newbie 2 09-10-2004 04:36 PM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration